v = list(eval(input("pls input:\n")))
def checkIfOnlyOne(index):
    for i in range(index+1,len(v)):
        if v[i] == v[index] and type(v[i]) == type(v[index]):  #if v[i] == v[index] 
            return False
    return True; 

print("before:",v)
r = []
for i in range(len(v)):
    if(checkIfOnlyOne(i)):
        r.append(v[i])

print("after:",list(r))